var title_number_per_menu;
var image_number_per_tab;
var TITLE_NUMBER_PER_MENU = typeof(title_number_per_menu) == "undefined" ?
		10 : title_number_per_menu;
var IMAGE_NUMBER_PER_TAB  = typeof(image_number_per_tab) == "undefined" ?
		30 : image_number_per_tab;
var emoticonData = emoData;

document.write('\n<br><br>\n');
for(var sdc=0; sdc<emoticonData.length; sdc++) {
	var emoticonRecord = emoticonData[sdc];
	document.write(emoticonRecord[0]+'<br>\n');
	
	var baseThbURL = emoticonRecord[1];
	var baseEmoURL = emoticonRecord[2];
	var imageURLdata = emoticonRecord[3];
	for(var mc=0; mc<imageURLdata.length; mc++) {
		if((mc+1)%IMAGE_NUMBER_PER_TAB==0 )
			document.write('<br/>\n');
		document.write('<img src=\''+baseEmoURL+imageURLdata[mc]+'\'/>');
	}
	document.write('\n<br/><br/>\n');
}